package com.eight.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eight.pojo.ChatData;
import com.eight.vo.ComResult;

/**
 * @Description: 聊天的业务接口
 * @Author: Van.Planifolia
 * @CreateTime: 2023-03-02  20:04
 * @Version: 1.0
 */
public interface ChatService extends IService<ChatData> {

    /**
     * 查询俩个人的聊天记录
     * @param from 来自
     * @param to 发送给
     * @return 结果
     */
    ComResult searchRecords(String from, String to);
}
